package com.yss.reportworld.domain.arrwrap;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yss.common.core.annotation.ExcelValid;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * 参数对象 rw_db_tp_rep_basic_param
 *
 * @author yss
 * @date 2023-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("rw_db_tp_rep_basic_param")
@Component("TpRepBasicParam")
public class TpRepBasicParam extends Model<TpRepBasicParam> {

    /**
     * 流水号
     */
    @ExcelProperty("ID")
    @TableId("ID")
    private String id;

    /**
     * 功能模块
     */
    @ExcelProperty("FUNCTION_MODULE")
    @TableField("FUNCTION_MODULE")
    private String functionModule;

    /**
     * 参数名
     */
    @ExcelProperty("PARAM_NAME")
    @TableField("PARAM_NAME")
    @ExcelValid(message = "【TP_REP_BASIC_PARAM】【PARAM_NAME】不能为空")
    private String paramName;

    /**
     * 参数值
     */
    @ExcelProperty("PARAM_VALUE")
    @TableField("PARAM_VALUE")
    @ExcelValid(message = "【TP_REP_BASIC_PARAM】【PARAM_VALUE】不能为空")
    private String paramValue;

    /**
     * 参数默认值
     */
    @ExcelProperty("PARAM_DEFAULT")
    @TableField("PARAM_DEFAULT")
    private String paramDefault;

    /**
     * 参数默认值
     */
    @ExcelProperty("REMARK")
    @TableField("REMARK")
    @ExcelValid(message = "【TP_REP_BASIC_PARAM】【REMARK】不能为空")
    private String remark;
    /**
     * 状态(1正常,0删除)
     */
    @ExcelProperty("STATUS")
    @TableField("STATUS")
    @ExcelValid(message = "【TP_REP_BASIC_PARAM】【STATUS】不能为空")
    private String status;

    /**  */
    @ExcelProperty("SUB_VALUE")
    @TableField("SUB_VALUE")
    private String subValue;

    /**
     * 顺序号
     */
    @ExcelProperty("ORDER_NO")
    @TableField("ORDER_NO")
    @ExcelValid(message = "【TP_REP_BASIC_PARAM】【ORDER_NO】不能为空")
    private Integer orderNo;

    /**  */
    @ExcelProperty("PARAM_TYPE")
    @TableField("PARAM_TYPE")
    @ExcelValid(message = "【TP_REP_BASIC_PARAM】【PARAM_TYPE】不能为空")
    private Integer paramType;

    /**
     * 数据编码
     */
    @ExcelIgnore
    @TableField("RW_DB_ID")
    private String rwDbId;
}
